package org.nepu.scr.domain.sikeLevel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.lboot.jpa.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "sike_level")
@ApiModel("各项一级指标评价结果")
public class SikeLevel extends BaseEntity implements Serializable {
    @ApiModelProperty("极高风险")
    @Column(name = "five_g")
    String fiveG;

    @ApiModelProperty("高风险")
    @Column(name = "fore_g")
    String foreG;

    @ApiModelProperty("中风险")
    @Column(name = "three_g")
    String threeG;

    @ApiModelProperty("低风险")
    @Column(name = "two_g")
    String twoG;

    @ApiModelProperty("安全")
    @Column(name = "one_g")
    String oneG;
}
